package com.td.server;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 项目的启动类
 *
 * @author JinRui
 */
@Slf4j
@SuppressWarnings("SpringComponentScan") // 忽略 IDEA 无法识别 ${td.info.base-package}
@SpringBootApplication(scanBasePackages = {"${td.info.base-package}.server", "${td.info.base-package}.module"})
@MapperScan({"com.td.server.dal.mysql"})
public class TdServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(TdServerApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ ");
    }

}
